<template>
  <section class="cjy-time-box">
    <span>活动时间: </span><span>{{translateDate(begainTime)}} </span>—
    <span> {{translateDate(overTime)}}</span>
  </section>
</template>

<script>
  import translateDate from '@/utils/translateDate'

  export default {
    data () {
      return {}
    },
    components: {},
    props: {
      begainTime: {
        type: Number,
        default: 0
      },
      overTime: {
        type: Number,
        default: 0
      }
    },
    methods: {
      translateDate
    }


  }
</script>

<style>
  .cjy-time-box {
    width: 100%;
    height: 1.8rem;
    background: white;
    text-align: left;
    padding-left: 0.75rem;
    font-size: 0.8rem;
    /*color:#EF5423;*/
    vertical-align:middle;
    line-height: 1.8rem
  }


</style>
